Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
81 |
with gr.Tab("❓ اسأل الكتاب"):
|
82 |
question = gr.Textbox(label="اكتب سؤالك هنا...")
|
83 |
answer = gr.Textbox(label="الإجابة", interactive=False)
|
84 |
-
ask_button = gr.Button("✉️ أرسل السؤال!"
|
85 |
|
86 |
train_button.click(process_files, inputs=[upload], outputs=[train_output])
|
87 |
ask_button.click(generate_answer, inputs=[question], outputs=[answer])
|
|
|
81 |
with gr.Tab("❓ اسأل الكتاب"):
|
82 |
question = gr.Textbox(label="اكتب سؤالك هنا...")
|
83 |
answer = gr.Textbox(label="الإجابة", interactive=False)
|
84 |
+
ask_button = gr.Button("✉️ أرسل السؤال!")
|
85 |
|
86 |
train_button.click(process_files, inputs=[upload], outputs=[train_output])
|
87 |
ask_button.click(generate_answer, inputs=[question], outputs=[answer])
|