Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def greet(question):
|
|
| 32 |
else:
|
| 33 |
return 'Unknown error'
|
| 34 |
|
| 35 |
-
demo = gr.Interface(fn=greet, inputs=gr.Textbox(lines=20, placeholder='Please enter
|
| 36 |
|
| 37 |
if __name__ == "__main__":
|
| 38 |
# demo.launch(share='True')
|
|
|
|
| 32 |
else:
|
| 33 |
return 'Unknown error'
|
| 34 |
|
| 35 |
+
demo = gr.Interface(fn=greet, inputs=gr.Textbox(lines=20, placeholder='Please enter the text to be weighted down'), outputs=gr.Textbox(lines=20, placeholder='It will take some time to reduce the weight, please wait...'))
|
| 36 |
|
| 37 |
if __name__ == "__main__":
|
| 38 |
# demo.launch(share='True')
|