Spaces:
Running
Running
''' | |
Author: Rongsheng Wang | |
Data: 2023.09.10 | |
Describution: News data maker. | |
Usage: python app.py | |
''' | |
import gradio as gr | |
import gradio | |
from app_cn import demo as demo_cn | |
css = """ | |
.table-wrap .cell-wrap input {min-width:80%} | |
#api-key-textbox textarea {filter:blur(8px); transition: filter 0.25s} | |
#api-key-textbox textarea:focus {filter:none} | |
#chat-log-md hr {margin-top: 1rem; margin-bottom: 1rem;} | |
#chat-markdown-wrap-box {max-height:80vh; overflow: auto !important;} | |
""" | |
demo = gr.TabbedInterface( | |
[ | |
demo_cn | |
], [ | |
"中文版" | |
], css=css) | |
if __name__ == "__main__": | |
demo.queue(concurrency_count=200).launch() | |