Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from diffusers import (
|
|
9 |
AutoencoderTiny,
|
10 |
)
|
11 |
from huggingface_hub import hf_hub_download
|
12 |
-
from feifeilib.feifeichat import feifeichat
|
13 |
|
14 |
import config
|
15 |
styles_name = [style["name"] for style in config.style_list]
|
@@ -147,23 +147,23 @@ with gr.Blocks(css=css) as demo:
|
|
147 |
multiselect=False,
|
148 |
value="(None)",
|
149 |
)
|
150 |
-
feifei_chat_text1 = gr.Textbox(
|
151 |
-
|
152 |
-
feifei_chat_text2 = gr.Textbox(
|
153 |
-
|
154 |
|
155 |
# 定义模型选择下拉框
|
156 |
-
feifei_chat_Dropdown = gr.Dropdown(
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
)
|
165 |
# 定义提交按钮
|
166 |
-
feifei_chat_btn = gr.Button(value="Gen Prompt")
|
167 |
feife_select = gr.Checkbox(label="FeiFei Expansion", value=True)
|
168 |
bigboobs_select = gr.Checkbox(label="bigboobs", value=True)
|
169 |
nsfw_select = gr.Checkbox(label="NSFW")
|
|
|
9 |
AutoencoderTiny,
|
10 |
)
|
11 |
from huggingface_hub import hf_hub_download
|
12 |
+
#from feifeilib.feifeichat import feifeichat
|
13 |
|
14 |
import config
|
15 |
styles_name = [style["name"] for style in config.style_list]
|
|
|
147 |
multiselect=False,
|
148 |
value="(None)",
|
149 |
)
|
150 |
+
#feifei_chat_text1 = gr.Textbox(
|
151 |
+
# label="输入您的问题1:", show_label=False, container=False, lines=1, value="")
|
152 |
+
#feifei_chat_text2 = gr.Textbox(
|
153 |
+
# label="输入您的问题2:", show_label=False, container=False, lines=3, value="")
|
154 |
|
155 |
# 定义模型选择下拉框
|
156 |
+
#feifei_chat_Dropdown = gr.Dropdown(
|
157 |
+
# [
|
158 |
+
# "meta/llama-3.3-70b-instruct",
|
159 |
+
# "nvidia/llama-3.3-nemotron-super-49b-v1",
|
160 |
+
# "mistralai/Mistral-Nemo-Instruct-2411",
|
161 |
+
# ],
|
162 |
+
# value="mistralai/Mistral-Nemo-Instruct-2411",
|
163 |
+
# label="选择模型", show_label=False, container=False
|
164 |
+
#)
|
165 |
# 定义提交按钮
|
166 |
+
#feifei_chat_btn = gr.Button(value="Gen Prompt")
|
167 |
feife_select = gr.Checkbox(label="FeiFei Expansion", value=True)
|
168 |
bigboobs_select = gr.Checkbox(label="bigboobs", value=True)
|
169 |
nsfw_select = gr.Checkbox(label="NSFW")
|