Update app.py
Browse files
app.py
CHANGED
|
@@ -70,9 +70,7 @@ def predict(message, history):
|
|
| 70 |
# --- 创建并启动Gradio界面 ---
|
| 71 |
# 已移除 examples 和 cache_examples 参数来修复点击示例时报错的问题
|
| 72 |
demo = gr.ChatInterface(
|
| 73 |
-
fn=predict
|
| 74 |
-
title="qwen3-0.6b-villanova-patent-model",
|
| 75 |
-
description=f"for course CSC 9090",
|
| 76 |
)
|
| 77 |
|
| 78 |
if __name__ == "__main__":
|
|
|
|
| 70 |
# --- 创建并启动Gradio界面 ---
|
| 71 |
# 已移除 examples 和 cache_examples 参数来修复点击示例时报错的问题
|
| 72 |
demo = gr.ChatInterface(
|
| 73 |
+
fn=predict
|
|
|
|
|
|
|
| 74 |
)
|
| 75 |
|
| 76 |
if __name__ == "__main__":
|