Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -61,7 +61,6 @@ def generate_topics(field, major, keywords, audience, level):
|
|
61 |
except Exception as e:
|
62 |
return f"<div style='color: red;'>❌ خطا در تماس با مدل DeepSeek: {e}</div>"
|
63 |
|
64 |
-
# رابط کاربری Gradio
|
65 |
iface = gr.Interface(
|
66 |
fn=generate_topics,
|
67 |
inputs=[
|
@@ -73,7 +72,7 @@ iface = gr.Interface(
|
|
73 |
],
|
74 |
outputs=gr.HTML(label="موضوعات پیشنهادی", elem_id="output_box"),
|
75 |
title="🎓 پیشنهادگر موضوع پایاننامه کاسپین",
|
76 |
-
|
77 |
theme="default",
|
78 |
css="""
|
79 |
#output_box {
|
|
|
61 |
except Exception as e:
|
62 |
return f"<div style='color: red;'>❌ خطا در تماس با مدل DeepSeek: {e}</div>"
|
63 |
|
|
|
64 |
iface = gr.Interface(
|
65 |
fn=generate_topics,
|
66 |
inputs=[
|
|
|
72 |
],
|
73 |
outputs=gr.HTML(label="موضوعات پیشنهادی", elem_id="output_box"),
|
74 |
title="🎓 پیشنهادگر موضوع پایاننامه کاسپین",
|
75 |
+
logo="logo.png", # ← لوگوی شما
|
76 |
theme="default",
|
77 |
css="""
|
78 |
#output_box {
|