Spaces:
Paused
Paused
seawolf2357
commited on
Commit
โข
64b5b2c
1
Parent(s):
e863406
Update app.py
Browse files
app.py
CHANGED
@@ -1,11 +1,16 @@
|
|
1 |
import gradio as gr
|
|
|
2 |
import threading
|
3 |
import discord
|
4 |
import logging
|
5 |
import os
|
|
|
6 |
from huggingface_hub import InferenceClient
|
7 |
import asyncio
|
8 |
|
|
|
|
|
|
|
9 |
# ๋ก๊น
์ค์
|
10 |
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s:%(levelname)s:%(name)s: %(message)s', handlers=[logging.StreamHandler()])
|
11 |
|
|
|
1 |
import gradio as gr
|
2 |
+
import requests
|
3 |
import threading
|
4 |
import discord
|
5 |
import logging
|
6 |
import os
|
7 |
+
from flask import Flask, jsonify, request
|
8 |
from huggingface_hub import InferenceClient
|
9 |
import asyncio
|
10 |
|
11 |
+
# ํ๋ผ์คํฌ ์ ํ๋ฆฌ์ผ์ด์
์ค์
|
12 |
+
app = Flask(__name__)
|
13 |
+
|
14 |
# ๋ก๊น
์ค์
|
15 |
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s:%(levelname)s:%(name)s: %(message)s', handlers=[logging.StreamHandler()])
|
16 |
|