Spaces:
Running
Running
File size: 643 Bytes
aa77a85 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
'''
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()
|