Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,11 +35,11 @@ def model(input):
|
|
35 |
|
36 |
return response.text
|
37 |
|
38 |
-
with gr.Blocks() as demo:
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
43 |
|
44 |
if __name__ == "__main__":
|
45 |
demo.launch()
|
|
|
35 |
|
36 |
return response.text
|
37 |
|
|
|
38 |
|
39 |
+
|
40 |
+
inputs = gr.Textbox(placeholder="Let Chat")
|
41 |
+
outputs = gr.Textbox()
|
42 |
+
demo = gr.Interface(model, inputs, outputs)
|
43 |
|
44 |
if __name__ == "__main__":
|
45 |
demo.launch()
|