Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -109,9 +109,10 @@ def group_texts(examples):
|
|
| 109 |
#Darstellung mit Gradio
|
| 110 |
|
| 111 |
with gr.Blocks() as demo:
|
|
|
|
| 112 |
output = gr.Textbox(label="Output Box")
|
| 113 |
start_btn = gr.Button("Start")
|
| 114 |
-
start_btn.click(fn=greet, inputs, outputs=output, api_name="trainieren_neu")
|
| 115 |
|
| 116 |
|
| 117 |
demo.launch()
|
|
|
|
| 109 |
#Darstellung mit Gradio
|
| 110 |
|
| 111 |
with gr.Blocks() as demo:
|
| 112 |
+
name = gr.Textbox(label="Model")
|
| 113 |
output = gr.Textbox(label="Output Box")
|
| 114 |
start_btn = gr.Button("Start")
|
| 115 |
+
start_btn.click(fn=greet, inputs=name, outputs=output, api_name="trainieren_neu")
|
| 116 |
|
| 117 |
|
| 118 |
demo.launch()
|