Spaces:
Build error
Build error
Commit
·
c0ffdbb
1
Parent(s):
b4ca3fe
Update app.py
Browse files
app.py
CHANGED
@@ -98,8 +98,7 @@ with gr.Blocks() as demo:
|
|
98 |
file_types=['.py', '.txt'], type="file",
|
99 |
elem_classes="short-height")
|
100 |
instructor_prompt = gr.Textbox()
|
101 |
-
|
102 |
-
|
103 |
|
104 |
|
105 |
demo.queue().launch(server_name='0.0.0.0', server_port=7860)
|
|
|
98 |
file_types=['.py', '.txt'], type="file",
|
99 |
elem_classes="short-height")
|
100 |
instructor_prompt = gr.Textbox()
|
101 |
+
gr.Interface(get_instructor_prompt, file_input, instructor_prompt)
|
|
|
102 |
|
103 |
|
104 |
demo.queue().launch(server_name='0.0.0.0', server_port=7860)
|