paleDriver7
commited on
Commit
•
805500d
1
Parent(s):
a9e469b
Update app.py
Browse files
app.py
CHANGED
@@ -1,23 +1,6 @@
|
|
1 |
-
'''
|
2 |
-
from fastapi import FastAPI
|
3 |
-
|
4 |
-
app = FastAPI()
|
5 |
-
|
6 |
-
@app.get("/")
|
7 |
-
def greet_json():
|
8 |
-
return {"Hello": "World!"}
|
9 |
-
|
10 |
-
'''
|
11 |
-
|
12 |
import sys
|
13 |
print(sys.path)
|
14 |
|
15 |
-
import os
|
16 |
-
|
17 |
-
# 安装 llama3 库
|
18 |
-
os.system('pip install git+https://github.com/meta-llama/llama3.git#egg=llama3')
|
19 |
-
|
20 |
-
|
21 |
|
22 |
from flask import Flask, request, jsonify, render_template, send_from_directory
|
23 |
from flask_cors import CORS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import sys
|
2 |
print(sys.path)
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
5 |
from flask import Flask, request, jsonify, render_template, send_from_directory
|
6 |
from flask_cors import CORS
|